<?php require_once('../../core/import.php');?>
<?php User::Permission('EXHIBITION_LIST_TOP'); ?>
<?php
    if($_SERVER['REQUEST_METHOD']=='POST')
    {        
        foreach(@Functions::FormArgs('ID') as $Value)
        {
            DB::CExec("update exhibition_infos set M_IsTop=1,M_IsTop_Datetime=date('Y-m-d G:i:s') where ID=$Value");
        }
        Functions::JsLocation($_SERVER['HTTP_REFERER']);
    }
?>